package com.ocom.common.request.payhandle;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AuthinfoRequest {

    @Min(1L)
    @NotNull(message = "companyId 不能为空")
    Long companyId;

    @NotBlank(message = "machNo 不能为空")
    String machNo;

    @NotBlank(message = "device_id 不能为空")
    String deviceId;

    @NotBlank(message = "rawdata 不能为空")
    String rawdata;
}
